package com.zhny.sensor.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 脚标机设备实体类
 * @author zhy
 *
 */
@Entity
@Table(name="barcode_machine")
public class BarcodeMachine implements Serializable{

	@Id
	private String id;//

	private String number;//脚标机编号
	private String slaughterHouseId;//所属的屠宰场id
	private String userId;//档口负责人（档口的使用者）
	private Double price;//价格（RMB）
	private java.util.Date productDate;//出厂日期
	private String longitude;//经度
	private String latitude;//纬度
	private String createBy;//创建者
	private java.util.Date createDate;//创建时间
	private String stallsId;//档口id
	private String status;

	public String getId() {
		return id;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getSlaughterHouseId() {
		return slaughterHouseId;
	}

	public void setSlaughterHouseId(String slaughterHouseId) {
		this.slaughterHouseId = slaughterHouseId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Date getProductDate() {
		return productDate;
	}

	public void setProductDate(Date productDate) {
		this.productDate = productDate;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}


	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getStallsId() {
		return stallsId;
	}

	public void setStallsId(String stallsId) {
		this.stallsId = stallsId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
}
